import { PartialType } from '@nestjs/mapped-types';
import { CreateBossDto } from './create-boss.dto';
import { IsInt } from 'class-validator';

export class UpdateBossDto extends PartialType(CreateBossDto) {
    bossId: string
}

export class updatePriceBossDto {
    bossId: string

    @IsInt({ message: '请输入整数' })
    amount: number // 增加或减少的金额
}